package com.front.managementfront.banner.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author hml
 * @since 2021-04-22
 */
@ApiModel(value = "banner")
public class HktsBanner extends Model<HktsBanner> {

private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "主键")
    private String id;
    @ApiModelProperty(value = "创建人")
        private String createBy;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "删除标识")
    private Integer delFlag;
    @ApiModelProperty(value = "修改标识")
    private String updateBy;
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "链接")
    private String bannerLink;
    @ApiModelProperty(value = "顺序")
    private Integer bannerOrder;
    @ApiModelProperty(value = "图片地址")
        private String bannerPath;
    @ApiModelProperty(value = "是否显示")
        private String isShow;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public String getCreateBy(){
            return createBy;
            }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
            }

    public LocalDateTime getCreateTime(){
            return createTime;
            }

        public void setCreateTime(LocalDateTime createTime) {
            this.createTime = createTime;
            }

    public Integer getDelFlag(){
            return delFlag;
            }

        public void setDelFlag(Integer delFlag) {
            this.delFlag = delFlag;
            }

    public String getUpdateBy(){
            return updateBy;
            }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
            }

    public LocalDateTime getUpdateTime(){
            return updateTime;
            }

        public void setUpdateTime(LocalDateTime updateTime) {
            this.updateTime = updateTime;
            }

    public String getBannerLink(){
            return bannerLink;
            }

        public void setBannerLink(String bannerLink) {
            this.bannerLink = bannerLink;
            }

    public Integer getBannerOrder(){
            return bannerOrder;
            }

        public void setBannerOrder(Integer bannerOrder) {
            this.bannerOrder = bannerOrder;
            }

    public String getBannerPath(){
            return bannerPath;
            }

        public void setBannerPath(String bannerPath) {
            this.bannerPath = bannerPath;
            }

    public String getIsShow(){
            return isShow;
            }

        public void setIsShow(String isShow) {
            this.isShow = isShow;
            }

    public static final String ID ="id";

    public static final String CREATE_BY ="create_by";

    public static final String CREATE_TIME ="create_time";

    public static final String DEL_FLAG ="del_flag";

    public static final String UPDATE_BY ="update_by";

    public static final String UPDATE_TIME ="update_time";

    public static final String BANNER_LINK ="banner_link";

    public static final String BANNER_ORDER ="banner_order";

    public static final String BANNER_PATH ="banner_path";

    public static final String IS_SHOW ="is_show";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HktsBanner{" +
                ", id=" + id +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", delFlag=" + delFlag +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", bannerLink=" + bannerLink +
                ", bannerOrder=" + bannerOrder +
                ", bannerPath=" + bannerPath +
                ", isShow=" + isShow +
        "}";
        }
        }
